.login-container {
  height: 100%;
  min-height: 550px;
  background-color: #eeeeee;
  background-image: url("@/assets/images/login_bg.svg");
  background-size: 100% 100%;
  background-size: cover;

  .login-box {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 96.5%;
    height: 94%;
    padding: 0 50px;
    background-color: rgb(255 255 255 / 80%);
    border-radius: 10px;

    .dark {
      position: absolute;
      top: 13px;
      right: 18px;
    }

    .login-left {
      width: 800px;
      margin-right: 10px;

      .login-left-img {
        width: 100%;
        height: 100%;
      }
    }

    // 右边登录表单
    .login-form {
      width: 100%;
      max-width: 400px; // 设置最大宽度
      padding: 50px 40px 45px;
      box-sizing: border-box;
      background-color: var(--el-bg-color);
      border-radius: 10px;
      box-shadow: rgb(0 0 0 / 10%) 0 2px 10px 2px;
      margin: 0 auto; // 居中显示

      .login-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2rem;

        .login-icon {
          width: 60px;
          height: 52px;
        }

        .logo-text {
          padding: 0 0 0 1rem;
          margin: 0;
          font-size: 2rem; // 使用 rem 单位
          font-weight: bold;
          color: #34495e;
          white-space: nowrap;
          box-sizing: border-box;
        }
      }

      .el-form-item {
        margin-bottom: 40px;
      }

      .login-btn {
        display: flex;
        justify-content: space-between;
        width: 100%;
        // margin-top: 40px;
        white-space: nowrap;

        .el-button {
          width: 100%; // 按钮宽度占满
          max-width: 185px; // 设置最大宽度
        }
      }

      // 响应式样式
      @media (max-width: 600px) {
        padding: 30px 20px 25px; // 调整小屏幕下的内边距

        .login-logo {
          .logo-text {
            font-size: 1.5rem; // 调整小屏幕下的字体大小
          }
        }

        .el-form-item {
          margin-bottom: 30px; // 调整小屏幕下的表单项间距
        }

        .login-btn {
          flex-direction: column; // 小屏幕下按钮垂直排列
          align-items: center; // 居中对齐

          .el-button {
            margin-bottom: 10px; // 按钮间距
            max-width: none; // 取消最大宽度限制
          }
        }
      }
    }

  }
}

.login-tips {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

:deep(.el-tabs__nav-wrap:after) {
  background-color: transparent;
}

@media screen and (width <=1250px) {
  .login-left {
    display: none;
  }
}

@media screen and (width <=600px) {
  .login-form {
    width: 97% !important;
  }
}